package com.xenstra.rhodiumone.vo;

import java.util.Date;

public class EquityVO {
	
	private long id;
	private String symbol;
	private String name;
	private double open;
	private double high;
	private double low;
	private double close;
	private double last;
	private double previousClose;
	private long totalTradedQuantity;
	private double totalTradedValue;
	private Date timestamp;
	private long totalTrades;
	
	public EquityVO(){
		
	}

	public EquityVO(String symbol, String name) {
		super();
		this.symbol = symbol;
		this.name = name;
	}

	public EquityVO(long id, String symbol, double open, double high,
			double low, double close, double previousClose, Date timestamp) {
		super();
		this.id = id;
		this.symbol = symbol;
		this.open = open;
		this.high = high;
		this.low = low;
		this.close = close;
		this.previousClose = previousClose;
		this.timestamp = timestamp;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getSymbol() {
		return symbol;
	}

	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getOpen() {
		return open;
	}

	public void setOpen(double open) {
		this.open = open;
	}

	public double getHigh() {
		return high;
	}

	public void setHigh(double high) {
		this.high = high;
	}

	public double getLow() {
		return low;
	}

	public void setLow(double low) {
		this.low = low;
	}

	public double getClose() {
		return close;
	}

	public void setClose(double close) {
		this.close = close;
	}

	public double getLast() {
		return last;
	}

	public void setLast(double last) {
		this.last = last;
	}

	public double getPreviousClose() {
		return previousClose;
	}

	public void setPreviousClose(double previousClose) {
		this.previousClose = previousClose;
	}

	public long getTotalTradedQuantity() {
		return totalTradedQuantity;
	}

	public void setTotalTradedQuantity(long totalTradedQuantity) {
		this.totalTradedQuantity = totalTradedQuantity;
	}

	public double getTotalTradedValue() {
		return totalTradedValue;
	}

	public void setTotalTradedValue(double totalTradedValue) {
		this.totalTradedValue = totalTradedValue;
	}

	public Date getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}

	public long getTotalTrades() {
		return totalTrades;
	}

	public void setTotalTrades(long totalTrades) {
		this.totalTrades = totalTrades;
	}

	
}
